package com.information.repository;

import com.information.entity.OperationLog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OperationLogRepository extends JpaRepository<OperationLog, Long> {
    
    List<OperationLog> findByUserId(Long userId);
    
    List<OperationLog> findByOperationType(String operationType);
    
    List<OperationLog> findByUsername(String username);
} 